﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Text.RegularExpressions;

namespace WeiTalk.SinaEntities.Comment
{
    public class Entity
    {
        string createdAt = string.Empty;
        string source = string.Empty;

        public string CreatedAt
        {
            get { return createdAt; }
            set { createdAt = Utility.ConvertUTCTimeToLocalTime(value); }
        }
        public string ID { get; set; }
        public string Text { get; set; }
        public string Source
        {
            get { return source; }
            set { source = "来自: " + Utility.FormatSource(value); }
        }
        public User.Entity User { get; set; }
        public string MID { get; set; }
        public Status.Entity Status { get; set; }
        public Entity ReplyComment { get; set; }
    }
}
